<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        <div class="panel-lead">
            <em>活动配置</em>
        </div>
    </div>
    <div class="panel-body" style="padding-top:30px;">
        <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('底部菜单图标')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <div class="input-group">
                        <input id="c-menu_icon" class="form-control" size="50" name="row[menu_icon]" type="text"
                               value="{$row.menu_icon|htmlentities}">
                        <div class="input-group-addon no-border no-padding">
                            <span><button type="button" id="faupload-menu_icon" class="btn btn-danger faupload"
                                          data-input-id="c-menu_icon"
                                          data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp,image/webp"
                                          data-multiple="false" data-preview-id="p-menu_icon"><i
                                    class="fa fa-upload"></i> {:__('Upload')}</button></span>
                            <span><button type="button" id="fachoose-menu_icon" class="btn btn-primary fachoose"
                                          data-input-id="c-menu_icon" data-mimetype="image/*" data-multiple="false"><i
                                    class="fa fa-list"></i> {:__('Choose')}</button></span>
                        </div>
                        <span class="msg-box n-right" for="c-menu_icon"></span>
                    </div>
                    <ul class="row list-inline faupload-preview" id="p-menu_icon"></ul>
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('顶部商品一')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-top_goods_id_1" data-rule="required" data-source="service/goods/index"
                           data-multiple="false" class="form-control selectpage" name="row[top_goods_id_1]" type="text"
                           value="{$row.top_goods_id_1|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('顶部商品二')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-top_goods_id_2" data-rule="required" data-source="service/goods/index"
                           data-multiple="false" class="form-control selectpage" name="row[top_goods_id_2]" type="text"
                           value="{$row.top_goods_id_2|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('顶部商品三')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-top_goods_id_3" data-rule="required" data-source="service/goods/index"
                           data-multiple="false" class="form-control selectpage" name="row[top_goods_id_3]" type="text"
                           value="{$row.top_goods_id_3|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('顶部商品四')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-top_goods_id_4" data-rule="required" data-source="service/goods/index"
                           data-multiple="false" class="form-control selectpage" name="row[top_goods_id_4]" type="text"
                           value="{$row.top_goods_id_4|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('中间商品')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-middle_goods_id" data-rule="required" data-source="service/goods/index"
                           data-multiple="false" class="form-control selectpage" name="row[middle_goods_id]" type="text"
                           value="{$row.middle_goods_id|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('底部商品一')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-bottom_goods_id_1" data-rule="required" data-source="service/goods/index"
                           data-multiple="false" class="form-control selectpage" name="row[bottom_goods_id_1]" type="text"
                           value="{$row.bottom_goods_id_1|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('底部商品二')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-bottom_goods_id_2" data-rule="required" data-source="service/goods/index"
                           data-multiple="false" class="form-control selectpage" name="row[bottom_goods_id_2]" type="text"
                           value="{$row.bottom_goods_id_2|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('底部商品三')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-bottom_goods_id_3" data-rule="required" data-source="service/goods/index"
                           data-multiple="false" class="form-control selectpage" name="row[bottom_goods_id_3]" type="text"
                           value="{$row.bottom_goods_id_3|htmlentities}">
                </div>
            </div>
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('底部商品四')}:</label>
                <div class="col-xs-12 col-sm-8">
                    <input id="c-bottom_goods_id_4" data-rule="required" data-source="service/goods/index"
                           data-multiple="false" class="form-control selectpage" name="row[bottom_goods_id_4]" type="text"
                           value="{$row.bottom_goods_id_4|htmlentities}">
                </div>
            </div>
            <div class="form-group layer-footer">
                <label class="control-label col-xs-12 col-sm-2"></label>
                <div class="col-xs-12 col-sm-8">
                    <button type="submit" class="btn btn-primary btn-embossed">{:__('OK')}</button>
                </div>
            </div>
        </form>
    </div>
</div>
